package com.bfly.mall.advert.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bfly.core.base.entity.BaseEntity;

import java.io.Serializable;

/**
 * 优惠卷订单消费记录
 *
 * @author 长沙商脉科技有限公司
 * @date 2020/9/15 20:52
 */
@TableName(value = "coupon_expenses_record",resultMap = "CouponExpensesRecordResultMap")
public class CouponExpensesRecord extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 210413282276614706L;

    /**
     * 消费卷ID
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/9/15 20:53
     */
    @TableField("coupon_id")
    private int couponId;

    /**
     * 优惠卷码
     * @author 长沙商脉科技有限公司
     * @date 2020/12/5 14:45
     */
    @TableField("code")
    private String code;

    /**
     * 消费的订单号
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/9/15 20:53
     */
    @TableField("order_no")
    private String orderNo;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getCouponId() {
        return couponId;
    }

    public void setCouponId(int couponId) {
        this.couponId = couponId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
}
